local skel = fk.CreateSkill {
  name = "emo__xiaohuo",
  tags = {Skill.Compulsory},
}

skel:addEffect(fk.DamageInflicted, {
  anim_type = "negative",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(skel.name) and data.damageType ~= fk.NormalDamage and target == player
  end,
  on_use = function(self, event, target, player, data)
    data:changeDamage(1)
  end,
})

skel:addEffect(fk.Damaged, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(skel.name) and data.damageType ~= fk.NormalDamage
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(data.damage, skel.name)
  end,
})

Fk:loadTranslationTable{
  ["emo__xiaohuo"] = "硝火",
  [":emo__xiaohuo"] = "锁定技，你受到的属性伤害+1。当任意角色受到属性伤害后，你摸等于伤害值张牌。",
}

return skel
